/**
 * 
 */
package com.qolome.dto.request;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 用户创建Dto
 * @author 姜锋
 * @date 2020年1月5日 下午4:26:11 
 * @version V1.0   
 *
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserDtoCreateRequest {
	
	private String userId;

   @NotEmpty(message = "用户key不能为空")
    private String userKey;

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @Size(max = 32, min = 32,message = "密码必须是MD5值")
    @NotEmpty(message = "密码不能为空")
    private String password;
}
